package com.xingkeduo.pojo.vo;

import java.math.BigDecimal;

/**
 * 
 * 类说明  sku描述vo类
 * @author: pantong E-mail:pantong@xingkeduo.com
 * @date: 2019年5月13日 下午9:17:23
 */
public class ServprodVo implements Comparable<ServprodVo>{

    private Long serviceId;
    private BigDecimal price;
    private String name;
    private String desc;
    private String activityContent;
    private boolean isNew;
    
    
	public String getActivityContent() {
		return activityContent;
	}
	public void setActivityContent(String activityContent) {
		this.activityContent = activityContent;
	}
	public boolean isNew() {
		return isNew;
	}
	public void setNew(boolean isNew) {
		this.isNew = isNew;
	}
	public Long getServiceId() {
		return serviceId;
	}
	public void setServiceId(Long serviceId) {
		this.serviceId = serviceId;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	@Override
	public int compareTo(ServprodVo arg0) {
		if(this.getServiceId()==null || arg0.getServiceId()==null) {
			return 0;
		}
		return this.getServiceId().compareTo(arg0.getServiceId());
	}
    

    
    
}
